Optimal. Leaf size=50 \[ \frac{2 \sqrt{c} \tan ^{-1}\left (\frac{\sqrt{b} x^{-n/2}}{\sqrt{c}}\right )}{b^{3/2} n}-\frac{2 x^{-n/2}}{b n} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.0347027, antiderivative size = 50, normalized size of antiderivative = 1., number of steps used = 5, number of rules used = 5, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.2, Rules used = {1584, 345, 193, 321, 205} \[ \frac{2 \sqrt{c} \tan ^{-1}\left (\frac{\sqrt{b} x^{-n/2}}{\sqrt{c}}\right )}{b^{3/2} n}-\frac{2 x^{-n/2}}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1584
Rule 345
Rule 193
Rule 321
Rule 205
Rubi steps
\begin{align*} \int \frac{x^{-1+\frac{n}{2}}}{b x^n+c x^{2 n}} \, dx &=\int \frac{x^{-1-\frac{n}{2}}}{b+c x^n} \, dx\\ &=-\frac{2 \operatorname{Subst}\left (\int \frac{1}{b+\frac{c}{x^2}} \, dx,x,x^{-n/2}\right )}{n}\\ &=-\frac{2 \operatorname{Subst}\left (\int \frac{x^2}{c+b x^2} \, dx,x,x^{-n/2}\right )}{n}\\ &=-\frac{2 x^{-n/2}}{b n}+\frac{(2 c) \operatorname{Subst}\left (\int \frac{1}{c+b x^2} \, dx,x,x^{-n/2}\right )}{b n}\\ &=-\frac{2 x^{-n/2}}{b n}+\frac{2 \sqrt{c} \tan ^{-1}\left (\frac{\sqrt{b} x^{-n/2}}{\sqrt{c}}\right )}{b^{3/2} n}\\ \end{align*}
Mathematica [C] time = 0.0071318, size = 32, normalized size = 0.64 \[ -\frac{2 x^{-n/2} \, _2F_1\left (-\frac{1}{2},1;\frac{1}{2};-\frac{c x^n}{b}\right )}{b n} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.062, size = 79, normalized size = 1.6 \begin{align*} -2\,{\frac{1}{bn{x}^{n/2}}}+{\frac{1}{{b}^{2}n}\sqrt{-bc}\ln \left ({x}^{{\frac{n}{2}}}-{\frac{1}{c}\sqrt{-bc}} \right ) }-{\frac{1}{{b}^{2}n}\sqrt{-bc}\ln \left ({x}^{{\frac{n}{2}}}+{\frac{1}{c}\sqrt{-bc}} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} -c \int \frac{x^{\frac{1}{2} \, n}}{b c x x^{n} + b^{2} x}\,{d x} - \frac{2}{b n x^{\frac{1}{2} \, n}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.66699, size = 323, normalized size = 6.46 \begin{align*} \left [\frac{x x^{\frac{1}{2} \, n - 1} \sqrt{-\frac{c}{b}} \log \left (\frac{c x^{2} x^{n - 2} - 2 \, b x x^{\frac{1}{2} \, n - 1} \sqrt{-\frac{c}{b}} - b}{c x^{2} x^{n - 2} + b}\right ) - 2}{b n x x^{\frac{1}{2} \, n - 1}}, \frac{2 \,{\left (x x^{\frac{1}{2} \, n - 1} \sqrt{\frac{c}{b}} \arctan \left (\frac{b \sqrt{\frac{c}{b}}}{c x x^{\frac{1}{2} \, n - 1}}\right ) - 1\right )}}{b n x x^{\frac{1}{2} \, n - 1}}\right ] \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Timed out} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{x^{\frac{1}{2} \, n - 1}}{c x^{2 \, n} + b x^{n}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]